package cn.wolfcode.luowowo.article.service;


import cn.wolfcode.luowowo.article.domain.TicketTag;

import java.util.List;

/**
 * 景点标签服务
 */
public interface ITicketTagService {
    /**
     * 增加景点标签
     * @param ticketTag
     */
    void save(TicketTag ticketTag);

    /**
     * 删除景点标签
     * @param ticketTagId
     */
    void delete(Long ticketTagId);

    /**
     * 修改景点标签
     * @param ticketTag
     */
    void update(TicketTag ticketTag);

    /**
     * 查询单个景点标签
     * @param ticketTagId
     * @return
     */
    TicketTag get(Long ticketTagId);

    /**
     * 查询所有景点标签
     * @return
     */
    List<TicketTag> list();

    /**
     * 查询对应城市所有标签
     * @param destId
     * @return
     */
    List<TicketTag> selectTagTOP8(Long destId);
}
